import moment from "moment"


export default (time: string, format = 'YYYY/MM/DD HH:mm:ss') => moment.utc(time).local().format(format)